<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <link rel="stylesheet" href="./css/style.css" />
  <link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css" />
  <title>左侧滑动导航栏</title>
</head>

<body>
  <input type="checkbox" id="check" />
  <label for="check">
    <i class="fa fa-bars" id="btn"></i>
    <i class="fa fa-times" id="cancel"></i>
  </label>
  <div class="sidebar">
    <header>My</header>
    <ul>
      <li>
        <a href="#"><i class="fa fa-qrcode"> qrcode</i></a>
      </li>
      <li>
        <a href="#"><i class="fa fa-link"> link</i></a>
      </li>
      <li>
        <a href="#"><i class="fa fa-car"> car</i></a>
      </li>
      <li>
        <a href="#"><i class="fa fa-calendar"></i></a>
      </li>
      <li>
        <a href="#"><i class="fa fa-question-circle"></i></a>
      </li>
      <li>
        <a href="#"><i class="fa fa-sliders"></i></a>
      </li>
      <li>
        <a href="#"><i class="fa fa-envelope"></i></a>
      </li>
    </ul>
  </div>
  <section></section>
</body>

</html>
